﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AUDIT NEWS - SMALL SITE, BIG-NEWs</title>
<link rel="icon" href="../favicon.ico" type="image/x-icon"/>
<link href="../res/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
<link href="../res/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../res/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../res/jquery-ui-1.7.2.min.js"></script>

<script type='text/javascript' src='../dwr/interface/newsAdminDwr.js'></script>
<script type='text/javascript' src='../dwr/interface/feedsDwr.js'></script>
<script type='text/javascript' src='../dwr/engine.js'></script>

<script type='text/javascript' src='auditNews.js'></script>

<style type="text/css">
<!--
body {
	margin: 0;
	padding: 0;
	font: 0.75em Tahoma, Geneva, sans-serif;
}
#main {
	margin:0 auto;
	position:relative;
	width:81em;
}
#s-tabs {
	width: 30em;
	float: left;
}
#s-tabs .news-item {
	font-size: 1.25em;
	display: block;
	text-decoration: none;
	padding: 0.125em;
	margin: 0.125em 0;
}
#newsFeed input[name=feedurl] {
	width: 22em;
}
#tabs {
	float: right;
	width: 49em;
}
-->
</style>
<script type="text/javascript">
$(document).ready(function(){

});

</script>
</head>

<body>
<div id="main">

<div id="tabs">

	<ul>
		<li><a href="#newsDetail">预览</a></li>
	    <li><a href="#newsEdit">编辑</a></li>
	    <li><a href="#bulletinEdit">公告</a></li>
	</ul>
	
	<div id="newsDetail" class="news-view"></div>
	
	<div id="newsEdit" class="news-edit">
	<form>
	<ul>
		<li><label>标题</label><input name="subject" type="text"  /></li>
	    <li><label>图片地址</label><input name="imageUrl" type="text" /></li>
	    <li><label>内容</label><textarea name="content"></textarea></li>
	    <li><label>来源地址</label><input name="srcLinkUrl" type="text" /></li>
	</ul>
	</form>
	</div>

	<div id="bulletinEdit">
	</div>
	
</div>

<div id="s-tabs">
	<ul>
		<li><a href="#newsList">投递</a></li>
	    <li><a href="#newsFeed">Feed</a></li>
	    <li><a href="#feeds">Feeds</a></li>
	</ul>

	<div id="newsList">
		<input type="button" value="刷新" onclick="newsList.refresh()"/>
	</div>
	<div id="newsFeed">
		<input type="text" name="feedurl" value="http://news.163.com/special/00011K6L/rss_sh.xml"/>
		<input type="button" value="刷新" onclick="newsList.fetchFeed()"/>
	</div>
	<div id="feeds">
		<input type="button" value="刷新" onclick="newsList.fetchFeeds()"/>
	</div>
	
</div>

</div>
</body>
</html>
